<div id="change_password">
<?= Form::open('user/change_password', array('method' => 'post')); ?>
<?= Form::input('token_form', Security::token(), array('type' => 'hidden')) ?>
<dl>
  <dt><?= Form::label('previous_password', 'Previous password:'); ?></dt>
  <dd><?= Form::input('previous_password', NULL, array('type' => 'password', 'maxlength' => 50)); ?></dd>
  
  <dt><?= Form::label('new_password', 'New Password:'); ?></dt>
  <dd><?= Form::input('new_password', NULL, array('type' => 'password', 'maxlength' => 50)); ?></dd>
  
  <dt><?= Form::label('confirm_new_password', 'New Password Confirm:'); ?></dt>
  <dd><?= Form::input('confirm_new_password', NULL, array('type' => 'password', 'maxlength' => 50)); ?></dd>
  
  <dt></dt>
  <dd><?= Form::submit(NULL, 'Change password');?></dd>
</dl>
<?= Form::close(); ?>
  <?
    if($errors){
      ?><div class="error_box">Hubo errores</div><?
    }
  ?>
</div>